package com.example.petplanet.mapper;


import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface RelationDao {
    int followUser(Long userId, Long targetUserId);

    int cancelFollow(Long userId, Long targetUserId);

    Set<Long> getFollowsByUserId(Long id);

    int batchFollowUser(Long userId, List<Long> followIds);
    int batchCancelFollow(Long userId, List<Long> followIds);
}
